package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class BigClient {

    public static final int COOPERATION = 1;
    public static final int NOT_COOPERATION = 0;

    private Long id;

    private String schoolName;

    private String schoolAbbreviation;

    private Employee marketingPerson;

    private Employee followUpPerson;

    private SystemDictionaryBill schooleType;

    private SystemDictionaryBill educationBackground;

    private SystemDictionaryBill schooleNature;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date schooleFoundTime;

    private SystemDictionaryBill importantGrade;

    private SystemDictionaryBill eductionalSystme;

    private String schoolSite;

    private String postalCode;

    private String phone;

    private String fax;

    private String email;

    private String mainPage;

    private String schoolePrincipal;

    private Integer studentNumber;

    private Integer studentNumberIT;

    private String schooleIntroduction;

    private String remark;

    private int state;
}